package com.xyp.danmu.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xyp
 * @version 2019-03-09 00:09
 * @description IndexController
 */
@Controller
@RequestMapping(value = "")
public class IndexController {

    @RequestMapping(value = "index")
    public String index(){
        return "/indexPage";
    }

    @RequestMapping(value = "danmu")
    public String home(){
        return "/danmuPage";
    }

    @RequestMapping(value = "setting")
    public String setting(){
        return "/settingPage";
    }
}
